package de.joergviola.mobj.shared;

import java.util.Date;
import java.util.List;

public interface EntityWriter {
	void writeString(String name, String value);

	void writeLong(String name, Long value);

	void writeDouble(String name, Double value);

	void writeDate(String name, Date value);

	void writeListLong(String name, List<Long> value);

	void writeListString(String name, List<String> value);

	void writeStringArray(String name, String[] value);

	void writePersistable(String name, Persistable p)
			throws UnknownEntityException;
}
